//
//  SiterNetManager.h
//  sHome
//
//  Created by TracyHenry on 2022/8/15.
//  Copyright © 2022年 SiterWell. All rights reserved.
//

#import "SiterBaseNetManager.h"

@interface SiterNetManager : SiterBaseNetManager

+ (id)getWarningsWithDevTid:(NSString *)devTid andPage:(NSInteger)page handler:(void(^)(NSArray *parseArray, BOOL isLast, NSError *error))handler;

+ (id)clearAllWarningsWithDevTid:(NSString *)devTid ctrlKey:(NSString *)ctrlKey handler:(void(^)(NSError *error))handler;


+ (id) checkImage:(NSString *)code withRandom:(NSString *)ramdomcode handle:(void(^)(id,NSError *)) handler;

+ (id) registGetVerifyCode:(NSString *)token withType:(BOOL)isPhone withAccount:(NSString *)account handle:(void(^)(id,NSError *)) handler;

+ (id)regist:(NSString *)account withPassword:(NSString *)pasword with:(NSString *)code withType:(BOOL)isPhone handle:(void(^)(id,NSError *)) handler;

+ (id) resetGetVerifyCode:(NSString *)token withType:(BOOL)isPhone withAccount:(NSString *)account handle:(void(^)(id,NSError *)) handler;

+ (id)reset:(NSString *)account withPassword:(NSString *)pasword with:(NSString *)code withType:(BOOL)isPhone handle:(void(^)(id,NSError *)) handler;

+ (id) getDeviceList:(NSDictionary *)params handle:(void(^)(id,NSError *)) handler;

+ (id) bindDevice:(NSDictionary *)params handle:(void(^)(id,NSError *)) handler;

+ (id) unbindDevice:(NSDictionary *)params handle:(void(^)(id,NSError *)) handler;

+ (id) getProfile:(void(^)(id,NSError *)) handler;

+ (id) modifyProfile:(NSDictionary *)params handle:(void(^)(id,NSError *)) handler;

+ (id) modifyPassword:(NSDictionary *)params handle:(void(^)(id,NSError *)) handler;

+ (id) bindPushTag:(NSString *)register_token handle:(void(^)(id,NSError *)) handler;

+ (id) getPinCode:(void(^)(id,NSError *)) handler;

+ (id) unbindAllPushAlias:(void(^)(id,NSError *)) handler;

+ (id) unbindPushAlias:(NSDictionary *)params handle:(void(^)(id,NSError *)) handler;

+ (id) modifyDeviceName:(NSString *)deviceName withDevTid:(NSString *)devTid withCtrlKey:(NSString *)ctrlKey handle:(void(^)(id,NSError *)) handler;

+ (id) getOTA:(NSArray *)params handle:(void(^)(id,NSError *)) handler;

+ (id) deleteDevice:(NSString *)devTid withBindKey:(NSString *)bindKey handle:(void(^)(id,NSError *)) handler;

+ (id) getNewDeviceList:(NSString *)code handle:(void(^)(id,NSError *)) handler;

+ (id)getTourlistEmail:(void (^)(NSError *,NSString *email))handler;

+ (id)setTourlistEmail:(NSString *)email withHandler:(void (^)(NSError *))handler;
@end
